package com.haoze.nurse.model;


import com.haoze.common.model.BaseEntity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author xuck
 */
@Table(name = "SYSMN.SYS_MESSAGE")
public class MessageEntity extends BaseEntity {
    @Id
    private String msgId;

    private String msgType; //0 系统升级 1 普通消息 2 升级完成内容

    private String msgTitle;

    private String msgContent;

    private Integer msgInterval;            //发送间隔 以分为单位

    private String stopFlag;                //停用标志 0 正常 1 停止

    private Date gmtPush;         //最近一次推送时间

    private String sysType;

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public Integer getMsgInterval() {
        return msgInterval;
    }

    public void setMsgInterval(Integer msgInterval) {
        this.msgInterval = msgInterval;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public Date getGmtPush() {
        return gmtPush;
    }

    public void setGmtPush(Date gmtPush) {
        this.gmtPush = gmtPush;
    }

    public String getSysType() {
        return sysType;
    }

    public void setSysType(String sysType) {
        this.sysType = sysType;
    }
}